package com.ruoyi.visit.mapper;

import java.util.List;
import com.ruoyi.visit.domain.WithinManaged;

/**
 * 限期整改Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-23
 */
public interface WithinManagedMapper 
{
    /**
     * 查询限期整改
     * 
     * @param wmId 限期整改ID
     * @return 限期整改
     */
    public WithinManaged selectWithinManagedById(Long wmId);

    /**
     * 查询限期整改列表
     * 
     * @param withinManaged 限期整改
     * @return 限期整改集合
     */
    public List<WithinManaged> selectWithinManagedList(WithinManaged withinManaged);

    /**
     * 新增限期整改
     * 
     * @param withinManaged 限期整改
     * @return 结果
     */
    public int insertWithinManaged(WithinManaged withinManaged);

    /**
     * 修改限期整改
     * 
     * @param withinManaged 限期整改
     * @return 结果
     */
    public int updateWithinManaged(WithinManaged withinManaged);

    /**
     * 删除限期整改
     * 
     * @param wmId 限期整改ID
     * @return 结果
     */
    public int deleteWithinManagedById(Long wmId);

    /**
     * 批量删除限期整改
     * 
     * @param wmIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWithinManagedByIds(Long[] wmIds);
}
